From bb1ad83068bb07fdef46eae2c8ad833c52d18518 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Thu, 19 Mar 2026 14:58:46 +0800 Subject: [PATCH] Sync with release tarball contents --- subprojects/gvc/gvc-mixer-control.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/subprojects/gvc/gvc-mixer-control.c b/subprojects/gvc/gvc-mixer-control.c index 45764849b..57dc2d4f2 100644 --- a/subprojects/gvc/gvc-mixer-control.c +++ b/subprojects/gvc/gvc-mixer-control.c @@ -1218,7 +1218,8 @@ add_stream (GvcMixerControl *control, static gboolean match_stream_with_devices (GvcMixerControl *control, GvcMixerStreamPort *stream_port, - GvcMixerStream *stream) + GvcMixerStream *stream, + gboolean is_bluetooth) { g_autoptr (GList) devices = NULL; guint stream_card_id; @@ -1279,7 +1280,7 @@ match_stream_with_devices (GvcMixerControl *control, in_possession = TRUE; } else { /* Other UI devices on that card that match the stream can't be valid */ - if (device_stream_id == stream_id) { + if (device_stream_id == stream_id && is_bluetooth) { g_object_set (G_OBJECT (device), "stream-id", GVC_MIXER_UI_DEVICE_INVALID, NULL); @@ -1390,7 +1391,7 @@ sync_devices (GvcMixerControl *control, GvcMixerStreamPort *stream_port; stream_port = n->data; - if (match_stream_with_devices (control, stream_port, stream)) + if (match_stream_with_devices (control, stream_port, stream, is_bluetooth)) continue; g_warning ("Sync_devices: Failed to match stream id: %u, description: '%s', origin: '%s'", -- 2.39.5